home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / Dictionary.idl < prev    next >
Text File  |  1996-05-01  |  4KB  |  212 lines

  1. /*
  2.      File:        Dictionary.idl
  3.  
  4.      Contains:    Dictionary Manager Interfaces
  5.  
  6.      Version:    Technology:    System 8
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __DICTIONARY_IDL__
  19. #define __DICTIONARY_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __TYPES_IDL__
  25. #include <Types.idl>
  26. #endif
  27. #if FOR_SYSTEM8_PREEMPTIVE
  28. #ifndef __AEDATAMODEL_IDL__
  29. #include <AEDataModel.idl>
  30. #endif
  31. #ifndef __AEREGISTRY_IDL__
  32. #include <AERegistry.idl>
  33. #endif
  34. #ifndef __FILEMANAGERTYPES_IDL__
  35. #include <FileManagerTypes.idl>
  36. #endif
  37. #endif
  38. #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
  39. #ifndef __FILES_IDL__
  40. #include <Files.idl>
  41. #endif
  42. #endif
  43.  
  44. #ifdef __SOMIDL__
  45.  
  46. /*
  47. =============================================================================================
  48.  System 8 Dictionary Manager
  49. =============================================================================================
  50. */
  51. #if FOR_SYSTEM8_PREEMPTIVE
  52. typedef UInt32                    DCMUniqueID;
  53.  
  54. #if FOR_PTR_BASED_AE
  55. typedef AERecord                DCMFieldDataList;
  56.  
  57. #endif
  58. typedef OpaquePtr                DCMObjectID;
  59.  
  60. typedef DCMObjectID                DCMAccessMethodID;
  61.  
  62. typedef DCMObjectID                DCMDictionaryID;
  63.  
  64. typedef OpaquePtr                DCMObjectRef;
  65.  
  66. typedef DCMObjectRef            DCMDictionaryRef;
  67.  
  68. typedef DCMObjectRef            DCMDictionaryStreamRef;
  69.  
  70. typedef DCMObjectRef            DCMFieldInfoRef;
  71.  
  72. typedef OpaquePtr                DCMObjectIterator;
  73.  
  74. typedef DCMObjectIterator        DCMAccessMethodIterator;
  75.  
  76. typedef DCMObjectIterator        DCMDictionaryIterator;
  77.  
  78. typedef OpaquePtr                DCMFoundRecordIterator;
  79.  
  80. /*
  81.     Field specification declarations
  82. */
  83. typedef FourCharCode            DCMFieldTag;
  84.  
  85. typedef FourCharCode            DCMFieldType;
  86.  
  87. typedef UInt64                    DCMFieldSubType;
  88.  
  89. /*
  90.     Dictionary information
  91. */
  92. typedef SOMLargeStruct            DCMDictionaryHeader;        /* Derived from a struct of 76 bytes in size */
  93.  
  94. typedef OptionBits                DCMFieldAttribute;
  95.  
  96. /*
  97.     Standard dictionary properties
  98. */
  99. /*
  100.     'perm' property constants
  101. */
  102. /*
  103.     Standard search method
  104. */
  105. typedef OSType                    DCMFindMethodType;
  106.  
  107. /*
  108.     AccessMethod features
  109. */
  110. typedef OptionBits                DCMAccessMethodFeature;
  111.  
  112. /*
  113.     Error values
  114. */
  115. /*
  116.     Callback routines
  117. */
  118. typedef OpaquePtr DCMRegisterStreamProc;
  119. typedef OpaquePtr DCMProgressProc;
  120. /*
  121.     Create dictionary
  122. */
  123. /*
  124.     Register dictionary
  125. */
  126. /*
  127.     Open dictionary
  128. */
  129. /*
  130.     Change access privilege
  131. */
  132. /*
  133.     Find records
  134. */
  135. #if FOR_PTR_BASED_AE
  136. #endif
  137. /*
  138.     Dump dictionary
  139. */
  140. /*
  141.     Get field data
  142. */
  143. #if FOR_PTR_BASED_AE
  144. #endif
  145. /*
  146.     Add record
  147. */
  148. #if FOR_PTR_BASED_AE
  149. #endif
  150. /*
  151.     Add field
  152. */
  153. /*
  154.     Get dictionary information
  155. */
  156. /*
  157.     Dictionary property
  158. */
  159. /*
  160.     Get dictionary stream
  161. */
  162. /*
  163.     Reorganize/compact dictionary
  164. */
  165. /*
  166.     Seaarch dictionary
  167. */
  168. /*
  169.     Search AccessMethod
  170. */
  171. /*
  172.     Iterator Operation
  173. */
  174. /*
  175.     Register AccessMethod
  176. */
  177. /*
  178.     Get AccessMethod information
  179. */
  180. /*
  181.     Operators for DCMFieldInfoRef
  182. */
  183. /*
  184.     API for AccessMethod only
  185. */
  186. #endif
  187. /*
  188. =============================================================================================
  189.  System 7 Dictionary Manager
  190. =============================================================================================
  191. */
  192. #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
  193. /* This Was InsertMode */
  194. typedef short                    DictionaryDataInsertMode;
  195.  
  196. /* This Was AttributeType */
  197. typedef SInt8                    DictionaryEntryAttribute;
  198.  
  199. /* Dictionary information record */
  200. typedef SOMLargeStruct            DictionaryInformation;        /* Derived from a struct of 83 bytes in size */
  201.  
  202. typedef SOMTwoByteStruct        DictionaryAttributeTable;    /* Derived from a struct of 2 bytes in size */
  203.  
  204. typedef OpaquePtr                DictionaryAttributeTablePtr; /* Substituted OpaquePtr for ``DictionaryAttributeTable*'' */
  205.  
  206. #endif
  207.  
  208. #endif /* __SOMIDL__ */
  209.  
  210. #endif /* __DICTIONARY_IDL__ */
  211.  
  212.